package ma.moliere.presentation.modele;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

import javax.faces.model.SelectItem;

import ma.moliere.transverse.vo.AbsenceAffiche;
import ma.moliere.transverse.vo.NotessaisienormalePremiereAffichee;
import ma.moliere.transverse.vo.ReglementAffiche;

public class GestionSaisieModele extends ModeleGeneral implements Serializable {

	/**	 	 */
	private static final long serialVersionUID = 6766549415574010535L;

	private List < SelectItem > groupesItems;
	private Long idGroupe;
	private String semestre;
	private String evaluation;
	private List < NotessaisienormalePremiereAffichee > notesPremieres;
	private List < AbsenceAffiche > absences;
	private AbsenceAffiche absence;
	private List < ReglementAffiche > reglements;
	private ReglementAffiche reglement;

	private String transportModification;
	private String infoModification;
	private String garderieModification;

	public List < SelectItem > getGroupesItems() {
		if (null == groupesItems) {
			groupesItems = new ArrayList < SelectItem >();
		}
		return groupesItems;
	}

	public void setGroupesItems(final List < SelectItem > groupesItems) {
		this.groupesItems = groupesItems;
	}

	public Long getIdGroupe() {
		return idGroupe;
	}

	public void setIdGroupe(final Long idGroupe) {
		this.idGroupe = idGroupe;
	}

	public List < NotessaisienormalePremiereAffichee > getNotesPremieres() {
		if (null == notesPremieres) {
			notesPremieres = new ArrayList < NotessaisienormalePremiereAffichee >();
		}
		return notesPremieres;
	}

	public void setNotesPremieres(final List < NotessaisienormalePremiereAffichee > notesPremieres) {
		this.notesPremieres = notesPremieres;
	}

	public String getSemestre() {
		return semestre;
	}

	public void setSemestre(final String semestre) {
		this.semestre = semestre;
	}

	public String getEvaluation() {
		return evaluation;
	}

	public void setEvaluation(final String evaluation) {
		this.evaluation = evaluation;
	}

	/**
	 * @return the absences
	 */
	@Override
	public List < AbsenceAffiche > getAbsences() {
		if (absences == null) {
			absences = new ArrayList < AbsenceAffiche >();
		}
		return absences;
	}

	/**
	 * @param absences
	 *            the absences to set
	 */
	@Override
	public void setAbsences(final List < AbsenceAffiche > absences) {
		this.absences = absences;
	}

	/**
	 * @return the absence
	 */
	@Override
	public AbsenceAffiche getAbsence() {
		if (null == absence) {
			absence = new AbsenceAffiche();
		}
		return absence;
	}

	/**
	 * @param absence
	 *            the absence to set
	 */
	@Override
	public void setAbsence(final AbsenceAffiche absence) {
		this.absence = absence;
	}

	public List < ReglementAffiche > getReglements() {
		if (null == reglements) {
			reglements = new ArrayList < ReglementAffiche >();
		}
		return reglements;
	}

	public void setReglements(final List < ReglementAffiche > reglements) {
		this.reglements = reglements;
	}

	public ReglementAffiche getReglement() {
		if (null == reglement) {
			reglement = new ReglementAffiche();
		}
		return reglement;
	}

	public void setReglement(final ReglementAffiche reglement) {
		this.reglement = reglement;
	}

	public String getTransportModification() {
		return transportModification;
	}

	public void setTransportModification(final String transportModification) {
		this.transportModification = transportModification;
	}

	public String getInfoModification() {
		return infoModification;
	}

	public void setInfoModification(final String infoModification) {
		this.infoModification = infoModification;
	}

	public String getGarderieModification() {
		return garderieModification;
	}

	public void setGarderieModification(final String garderieModification) {
		this.garderieModification = garderieModification;
	}

}
